Surface shading style
Surface shading style specifies surface shading parameters that CADMATIC applications need to generate shaded images using OpenGL. These settings have a one to one mapping to material properties used in OpenGL.
A style has a name, surface shading setup (color), and zero or more tests. A style is applied if at least one test is true for the target object. Styles are examined in the order in which they are kept in the style set.
The available surface shading setups are loaded from COS. Currently this object only assigns yet another set of names to rgb (red, green, blue) color triple definitions.
How to create a new or edit an existing surface shading style
-
Click Home > Views > Walkaround.
-
In Walkaround click Config > Surface Shading Styles.
-
If you want to create a new shading style, click New.
-
Give a name for the style. Click New Style.
-
Select a color.
-
Define a test to the active style, click New Test. Define components which are included to this rule having the specified color.
-
Define so many styles as needed. The last one is without any tests. If some components don’t match to any earlier rules, they match this last one.
-
Click Save as and enter a name.
CADMATIC default style
This enables objects to be rendered using settings specified for their system in case there is no surface shading style to which the object matches. The idea being that by default objects are shaded as specified in the system.
Check the box that specifies that by default objects are shaded as specified in the system to which they belong to.
Make the last style to have no tests in which case objects that did not match any previous style would match this last one (since it has no tests) and be rendered using settings that you have assigned to this last style.